body {
  margin: 0;
  font-family: Poppins;
  background-color: #010101;
  color: #eee;
}

svg {
  width: 20px;
}

.header {
  width: 1200px;
  max-width: 90%;
  margin: auto;

  display: grid;
  grid-template-columns: 50px 1fr 50px;
  grid-template-rows: 50px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo {
  font-weight: 600;
}

.menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
}

.search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider {
  height: 100vh;
  margin-top: -50px;
  position: relative;
}

.slider .list .list-item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: 1.5s;
}

.slider .list .list-item::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(to top, #000 40%, transparent);
}

.slider .list .list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .list .list-item .content {
  position: absolute;
  left: 10%;
  top: 20%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .list-item .content p:nth-child(1) {
  text-transform: uppercase;
  letter-spacing: 10px;
  transform: translateY(30px);
}

.slider .list .list-item .content h2 {
  font-size: 100px;
  margin: 0px;
}

.slider .list .list-item.active {
  opacity: 1;
  pointer-events: auto;
}

@keyframes showContent {
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .list-item.active .content p:nth-child(1),
.slider .list .list-item.active .content h2,
.slider .list .list-item.active .content p:nth-child(3) {
  transform: translateY(30px);
  filter: blur(10px);
  opacity: 0;
  animation: showContent 0.5s 0.7s ease-in-out 1 forwards;
}

.slider .list .list-item .content h2 {
  animation-delay: 1s !important;
}

.slider .list .list-item .content p:nth-child(3) {
  animation-delay: 1.3s !important;
}

.arrows {
  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100;
}

.arrows button {
  background-color: #eee5;
  border: none;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  font-size: x-large;
  transition: 0.5s;
}

.arrows button:hover {
  background-color: #eee;
  color: black;
}

.thumbnail {
  position: absolute;
  bottom: 50px;
  z-index: 10;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  padding: 0 50px;
  box-sizing: border-box;
  justify-content: center;
  overflow: auto;
}

.thumbnail::-webkit-scrollbar {
  width: 0;
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  filter: brightness(0.5);
  transition: 0.5s;
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail .item.active {
  filter: brightness(1.5);
}

.thumbnail .item .content {
  position: absolute;
  inset: auto 10px 10px 10px;
}

@media screen and (max-width: 768px) {
  .arrows {
    top: 10%;
  }

  .slider .list .list-item .content h2 {
    font-size: 60px;
  }

  .slider .list .list-item .content p:nth-of-type(2) {
    display: none;
  }

  .thumbnail {
    justify-content: start;
  }
}
